<!DOCTYPE html>
<html lang="en">
<head>

<meta charset="utf-8">
<meta name="description" content="Miminium Admin Template v.1">
<meta name="author" content="Isna Nur Azis">
<meta name="keyword" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>油乐宝分销系统</title>

<!-- start: Css -->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/asset/css/bootstrap.min.css">

<!-- plugins -->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/asset/css/plugins/font-awesome.min.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/asset/css/plugins/simple-line-icons.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/asset/css/plugins/mediaelementplayer.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/asset/css/plugins/animate.min.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/asset/css/plugins/icheck/skins/flat/red.css"/>
<link href="__PUBLIC__/asset/css/style.css" rel="stylesheet">
<!-- end: Css -->

<link rel="shortcut icon" href="__PUBLIC__/asset/img/logomi.png">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>


<body id="mimin" class="dashboard">
      <!-- start: Header -->
      {include file="public/head" /}
      <!-- end: Header -->

      <div class="container-fluid mimin-wrapper">
  
          <!-- start:Left Menu -->
          {include file="public/left" /}
          <!-- end: Left Menu -->


          <!-- start: Content -->
          <div id="content">
             <div class="panel box-shadow-none content-header">
                  <div class="panel-body">
                    <div class="col-md-12">
                        <h3 class="animated fadeInLeft">报单 服务</h3>
                        <p class="animated fadeInDown">
                          首页 <span class="fa-angle-right fa"></span>未审核 账单
                        </p>
                    </div>
                  </div>
              </div>

            <div class="col-md-12 top-20 padding-0">
              <div class="col-md-12">
                <div class="panel">
                  <div class="panel-body">
                  
                  <div class="responsive-table">
                      
                    <table class="table table-striped table-bordered" width="100%" cellspacing="0">
                    <thead>
                      <tr>        
                        <th>ID</th>                
                        <th>日期</th>
                        <th>用户编号</th>
                        <th>所属报单中心编号</th>
                        <th>金额</th>
                        <th>左右区</th>
                        <th>状态</th>
                        <th>备注</th>
                        <th>审核</th>
                      </tr>
                    </thead>
                    <tbody>
                      <tr>
                        {foreach $data as $value}
                        <td>{$value.id}</td>
                        <td>{$value.create_time}</td>
                        <td>{$value.User_id}</td>
                        <td>{$value.Business_Center_id}</td>
                        <td>{$value.deal_price}</td>
                        {switch $value.tree_status}
                            {case 1}<td>"左区"</td>{/case}
                            {case 2}<td>"右区"</td>{/case}
                            {default /}<td>"无"</td>
                        {/switch}
                        {switch $value.status}
                            {case 1}<td>"审核成功"</td>{/case}
                            {case 2}<td>"审核失败"</td>{/case}
                            {default /}<td>"未审核"</td>
                        {/switch}                        
                        <td>{$value.description}</td>
                        <td>
                          <button type="button" class="btn btn-primary" name ="adopt">通过</button>
                          <button type="button" class="btn btn-primary" name = "refuse">拒绝</button>
                        </td>
                      </tr>    
                      {/foreach}
                    </tbody>
                  </table>
                  </div>
                  <div class="col-md-6" style="padding-top:20px;">
                    <span>展示{$total} 个结果中的 {$count} 个</span>
                  </div>
                  <div class="col-md-6">
                        {$page}
                  </div>
                </div>
              </div>
            </div>  
          </div>
          </div>
          <!-- end: content -->
          
      </div>

      <!-- start: Mobile -->
      {include file="public/mobile" /}
       <!-- end: Mobile -->

<!-- start: Javascript -->
<script src="__PUBLIC__/asset/js/jquery.min.js"></script>
<script src="__PUBLIC__/asset/js/jquery.ui.min.js"></script>
<script src="__PUBLIC__/asset/js/bootstrap.min.js"></script>
<script src="/js/unaudited.js"></script>


<!-- plugins -->
<script src="__PUBLIC__/asset/js/plugins/moment.min.js"></script>
<script src="__PUBLIC__/asset/js/plugins/icheck.min.js"></script>
<script src="__PUBLIC__/asset/js/plugins/jquery.nicescroll.js"></script>


<!-- custom -->
<script src="__PUBLIC__/asset/js/main.js"></script>
<script type="text/javascript">
$(document).ready(function(){
     $('input').iCheck({
        checkboxClass: 'icheckbox_flat-red',
        radioClass: 'iradio_flat-red'
      });
});
</script>
<!-- end: Javascript -->
</body>
</html>